/**
 * 导出所有中间件
 */

export { default as errorHandler } from './errorHandler';
export { default as tenantIdentifier } from './tenantIdentifier';
export { default as auth, optionalAuth } from './auth';
export {
  requirePermission,
  requireAnyPermission,
  requireSuperAdmin,
  requireTenantAdmin,
  getUserPermissions,
} from './permission';
export { default as tenantIsolation } from './tenantIsolation';
export { default as requestLogger } from './requestLogger';

